import mutations from './mutations'
import actions from './actions'

const state = {
  data: {},
  entry: {},
  badges: {},
  pageData: {},
  seek: {
    seeds: {},
    index: 1,
    sorter: '',
    desc: true,
    indexGo: '',
    seedSwitch: {},
    seekText: {},
    seekExact: {},
    seekMultipleLine: {},
    seekConvert: {},
    autoUpper: {},
    autoLower: {},
    shouldReload: false,
    selectedField: '',
    defaultSort:{},
  },
  seedsDefaultValues: {},
  seekExpand: false,
  seekExpandFieldCount: 0,
  response: {},
  allSelected: false,
  selectedRows: [],
  selectedData: [],
  selectedCount: 0,
  optionSources: {},
  uri: '',
  inlineTableCom: null, //行内表格组件, 新增行内数据时需要引用到
  node: {},
  searchTemplateTags: [],
  switched: true,
  activeName: '', //Tabs值
  expandedRows: [], // 展开的行
  transforms: {},
  preferredPageSize: 0,
};

export default {
  state,
  mutations,
  actions
}
